.main-top-cards {
  cursor: pointer;
}
.main-top-cards img {
  margin: 0 auto;
  display: block;
}
.main-top-cards p {
  text-align: center;
  font-size: 18px;
  font-weight: bold;
}
.main-top-cards:hover {
  color: #1890ff;
}

.courseware-cards,
.collect-cards {
  transition: 0.3s;
  -o-transition: 0.3s;
  -ms-transition: 0.3s;
  -moz-transition: 0.3s;
  -webkit-transition: 0.3s;
}

.courseware-cards:hover,
.collect-cards:hover {
  box-shadow: 0 1px 2px -2px rgba(0, 0, 0, 0.16), 0 3px 6px 0 rgba(0, 0, 0, 0.12),
    0 5px 12px 4px rgba(0, 0, 0, 0.09);
}
.collect-cards-container {
  width: 100%;
  overflow: hidden;
}
.collect-cards {
  position: relative;
  width: 50%;
  min-height: 140px;
  padding: 10px;
  border: 1px solid #f0f0f0;
  float: left;
  margin-bottom: 10px;
  overflow: hidden;
  padding-right: 30px;
}
// .collect-cards h4,.collect-cards p{
//   white-space: nowrap;
//   text-overflow: ellipsis;
//   overflow: hidden;
// }
.collect-cards img {
  float: left;
  width: 200px;
  height: 120px;
  object-fit: cover;
  margin-right: 20px;
}
.courseware-cards-collect {
  position: absolute;
  right: 10px;
  top: 23px;
  cursor: pointer;
  font-size: 20px;
  color: #ccc;
}
.video-cards::before{
  width: 200px;
  height: 120px;
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: 2;
  content: ' ';
  background-color: rgba(0, 0, 0, 0.5);
  cursor: pointer;
  background-image: url('https://www.shejiyuan.com/Public/images/play.png');
  background-position: center;
  background-repeat: no-repeat;
  background-size: 30px;
}
.search-area {
  float: right;
  width: 100%;
  margin-bottom: 25px;
}

.col-item {
  width: 50%;
  position: relative;
  cursor: pointer;
  float: left;
}

.info-title {
  font-size: 18px;
  height: 20px;
  line-height: 20px;
  text-indent: 10px;
  font-weight: bold;
}
.info-title img {
  position: relative;
  left: -10px;
  top: -2px;
}

.info-content{
    width: 90%;
    height: 120px;
    margin: 10px auto;
    .info-icon{
        width: 120px;
        height: 120px;
        border-radius: 50%;
        position: relative;
        top: 5px;
    }
    .info-name{
        font-size:20px;
        font-weight: bold;
        margin-top: 10px;
    }
    .info-content-item{
        margin-top: 52px;
      }
      .info-item{
        cursor: pointer;
        margin-bottom: 10px;
        margin-top: 10px;
        font-size: 16px;
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
    }
}